As of 2016-02-26, there will be no more posts for this blog. s/blog/pba/
Showing posts with label word processor. Show all posts

Hooray! I am using Microsoft Word!

Here is how I install:
- Download the Microsoft Word.
- Move or unpack the package to ~/Desktop/word_package/ with your Archive Manager, that package is a PKZIP+SFX. If your Archive Manager can't unpack it, you can run it in DosBox to unpack.
- Install DosBox. If you are using Fedora, you can install by yum install dosbox.
- Run DosBox.
- You need to mount your ~/Desktop, please run: mount c ~/Desktop
- Switch to C Drive: c:
- Enter the directory: cd word_package
- If you haven't unpacked it, you can run the Wd55_ben.exe (No ./, it's DOS!)
- Then run setup.exe and follow the instruction on screen. I didn't update any system things while installation. If your arrow keys do not work, please read the next; if they do work, skip next.
- On Fedora 10 or Ubuntu 8.10 (maybe some others), you need to create an configuration file for keycode issue. Use your favorite editor to create ~/.dosboxrc with:
[sdl]
usescancodes=false
- After you done installation, the Word should be at C:\WORD. Switch to it cd C:\WORD and run word.
I got the link via CLICK and read the resolution of keycode issue in this thread.
This post is written in Microsoft Word 5.5 with DosBox on Fedora 10, saved as RTF, uploaded to Google Docs, then copy-and-paste to Blogspot. However, some styles are applied on Google Docs for readability.



You can download the original DOC and RTF.

I read this Howto about WordGrinder. I give it a try, it's easy to compile, just need a little change. You will need:





yum install gcc ncurses-devel lua-devel lua-filesystem


Then run ./pm install to install, I got an error from linker:



gcc "-Wall" "--std=c99" "-Os" "-s"  -o ".pm-cache/34-1-utils" ".pm-cache/1-utils.o" ".pm-cache/2-main.o" ".pm-cache/3-lua.o" ".pm-cache/4-word.o" ".pm-cache/5-bit.o" ".pm-cache/6-screen.o" ".pm-cache/32-31-7-

_prologue.o" ".pm-cache/33-dpy.o" "-lm" "-lncursesw" "-llua5.1"

/usr/bin/ld: cannot find -llua5.1


I do install lua, but the name isn't right for Fedora. So, I opened the pmfile for "lua5.1", it's at line 215 in the version 0.3.2. I changed it to "lua". Now, I have WordGrinder.



But there is a problem, I couldn't make text italic or underlined, maybe I don't know how to use that? Anyway, here is a screenshot of what I get from WordGrinder and exported HTML result:





By the way, it also provides binary package for Windows users!



Updated: I got it! RTFM! wordgrinder README.wg. You can press CTRL+SPACE to enter selecting mode, then press CTRL+I to italicize the text.